package com.xiao.mall.message.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ApiModel(description = "短信验证码")
public class SmsCaptchaDTO implements Serializable {

    private static final long serialVersionUID = -3967533508031132019L;

    @ApiModelProperty(notes = "验证码id", allowEmptyValue = true)
    private String id;

    @ApiModelProperty(notes = "手机号")
    private String phone;

    @ApiModelProperty(notes = "验证码(只写)", allowEmptyValue = true)
    private String code;
}
